.app-search {
  position: relative;
  width: 100%;
  background: #fff;
  padding: 0.16rem 0;
  box-sizing: border-box;

  .main-search {
    width: 4.44rem;

    ::v-deep .ant-input,
    ::v-deep .ant-btn {
      font-size: 0.18rem;
    }
  }

  .advanced-search-button {
    display: inline-flex;
    margin-left: 0.12rem;
    align-items: center;

    .filter-icon {
      width: 0.16rem;
      height: 0.16rem;
      margin-right: 0.04rem;
  
      path {
        fill: #595959;
      }
    }
  
    .actived-number {
      width: 0.18rem;
      height: 0.18rem;
      margin-left: 0.02rem;
      color: #ffffff;
      font-size: 0.14rem;
      text-align: center;
      border-radius: 100%;
      background-color: #2481FD;
    }

    .button-label {
      font-size: 0.18rem;
    }

    .show-icon {
      display: inline-block;
      width: 0.16rem;
      height: 0.16rem;
      margin-left: 0.04rem;
  
      path {
        fill: #595959;
      }
    }

    &:focus,
    &:hover {
      .filter-icon path,
      .show-icon path {
        fill: #2481FD;
      }
    }
  }

  .search-drawer-content {
    position: absolute;
    width: 5rem;
    margin-top: 0.04rem;
    z-index: 100;
    overflow: hidden;
    border-radius: 0.04rem;
    transition: all 100ms;
    border: 1px solid #E5E9F0;
    background-color: #ffffff;
    box-shadow: 0px 0px 8px 0px rgba(195, 202, 219, 0.5);

    &.size-change {
      width: 0;
      height: 0 !important;
    }

    .search-draw-box {
      position: relative;
      display: flex;
      width: 5rem;
      height: 100%;
      overflow: hidden;
      flex-direction: column;
    }

    .content-header {
      display: flex;
      padding: 0.12rem 0.24rem;
      color: #333333;
      font-size: 0.2rem;
      font-weight: bold;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid #E5E9F0;

      .close-button {
        position: relative;
        width: 0.16rem;
        height: 0.16rem;
        cursor: pointer;

        &::after,
        &::before {
          position: absolute;
          content: ' ';
          width: 1px;
          left: 0.07rem;
          height: 0.14rem;
          background-color: #8190A9;
        }

        &::before {
          transform: rotate(45deg);
        }

        &::after {
          transform: rotate(-45deg);
        }
      }
    }

    .search-content {
      flex: 1;
      padding: 0.24rem;
      margin-bottom: 40px;
      overflow: auto;
    }

    .search-item+.search-item {
      margin-top: 0.2rem;
    }

    .search-operation {
      position: absolute;
      bottom: 0.24rem;
      right: 0.24rem;
    }
  }
}